<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      /* 
      1. i0 < 3;  console.log(1); i++;
      2. i1 < 3;  console.log(1); i++;
      3. i2 < 3;  console.log(1); i++;
      4. i3 < 3===false; 
      */

      /* 
    1.  while (0 < 3); console.log("count", 0);i++;
    2.  while (1 < 3); console.log("count", 1);i++;
    3.  while (2 < 3); console.log("count", 2);i++;
    4.  while (3 < 3); false;
  */
      let i = 0;
      while (i < 3) {
        console.log("count", i);
        i++;
      }
    </script>
  </body>
</html>
